from flask_restful import Api

from .flask_redislock import FlaskRedis
from .flask_celery3 import Celery
from .flask_celery3.command import CeleryCommand
from .flask_log import Logging
from .database import Model, db
from .flaskz_setting_manager import FlaskzSettingManager

__all__ = ['rest_api', 'db', 'Model', 'CeleryCommand', 'celery', 'log', 'locker', 'flaskz_setting_mgr']

rest_api = Api(prefix='/api')

celery = Celery()

log = Logging()

stock_redis = FlaskRedis()

flaskz_setting_mgr = FlaskzSettingManager()